<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
  {% load static %}
<link rel="stylesheet" href="{% static 'bl/css/pintuer.css'%}">
<link rel="stylesheet" href="{% static 'bl/css/admin.css'%}">
<script src="{% static 'bl/js/jquery.js'%}"></script>
<script src="{% static 'bl/js/pintuer.js'%}"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改内容</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="../../edit_blog/">
      <input type="hidden" name="id" value="{{blog.id}}">
{#      {% csrf_token %}#}
      <div class="form-group">
        <div class="label">
          <label>标题：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{{blog.title}}" name="title" data-validate="required:请输入标题" />
          <div class="tips"></div>
        </div>
      </div>
{#      </if>#}
      <div class="form-group">
        <div class="label">
          <label>内容：</label>
        </div>
        <div class="field">
{#          <textarea name="con" class="input" style="height:450px; border:1px solid #ddd;">{{blog.content}}</textarea>#}
          <input name="content" class="input" style="height:450px; border:1px solid #ddd;" value="{{blog.content}}"/>
          <div class="tips"></div>
        </div>
      </div>

{#      <div class="form-group">#}
{#        <div class="label">#}
{#          <label>作者：</label>#}
{#        </div>#}
{#        <div class="field">#}
{#          <input type="text" class="input w50" name="author" value="{{con.author}}"  />#}
{#          <div class="tips"></div>#}
{#        </div>#}
{#      </div>#}

      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body></html>